﻿//
// Created by francklinson on 2021/3/28.
//
#include "Port.h"
#include "VintagePort.h"
#include <iostream>

using namespace std;

int main()
{
    Port p1 = Port("Gallo", "tawny", 20);
    p1.Show();
    p1 += 2;
    p1.Show();
    VintagePort p2("Steel", "Judge", 20, "Cin", 30);
    p2.Show();
    VintagePort p3 = p2;
    p3 += 31;
    cout << p3;
    VintagePort p4;
    p4 = p3;
    cout << p4;
    return 0;
}
